package com.shiliuzi.www.pojo.dto.revoke;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecordClassUpdateDto {

    /**
     * 旧类型id
     */
    @NotNull
    @Min(1l)
    private Integer oldClassId;

    /**
     * 新类型判断
     */
    @NotNull
    private String newContent;
}
